<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="common/tag/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>登录界面</title>
    <link rel="stylesheet" type="text/css" href="<c:url value="/css/all.css" />" />
    <link rel="stylesheet" type="text/css" href="<c:url value="/js/easyUI/themes/default/easyui.css" />" />
    <link rel="stylesheet" type="text/css" href="<c:url value="/js/easyUI/themes/icon.css" />" />
    <script type="text/javascript" src="<c:url value="/js/jquery.min.js" />"></script>
    <script type="text/javascript" src="<c:url value="/js/easyUI/jquery.easyui.min.js" />"></script>
    <script type="text/javascript">
        function login() {
            $('#login_form').submit();
        }
    </script>
</head>
<body id="login">

<div id="sitewrapper">
    <div id="header" />
    <div id="content">
        <div id="main">
            <h1>用户登录</h1>
            <form id="login_form" action="${pageContext.request.contextPath}/j_spring_security_check" method="post" name="login_form">
                <div id="email">
                    <fieldset id="user-email">
                        <p>
                            <label>登录名<span><input type="text" name="j_username" tabindex="1" value="admin"/></span></label>
                        </p>
                    </fieldset>
                </div>
                <div id="password">
                    <fieldset id="user-password">
                        <p>
                            <label>密码<span><input type="password" name="j_password" tabindex="2" value="admin"/></span></label>
                        </p>
                    </fieldset>
                </div>
                <div style="padding: 5px 0 0 15px; font-size: 12px;">
                    <input id="_spring_security_remember_me" name="_spring_security_remember_me" type="checkbox" value= "true" /> 记住我，30天内不用再登录</label>
                </div>
                <div style="padding: 5px 20px 0 0; text-align: right;">
                    <a href="#" class="easyui-linkbutton" onclick="login();">登&nbsp;&nbsp;&nbsp;&nbsp;录</a>
                    &nbsp;&nbsp;<a href="#" class="easyui-linkbutton">忘记密码</a>
                </div>

            </form>
        </div>
    </div>
</div>
</body>
</html>